package com.ruoyi.dzzh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 现场照片对象 file_pts
 * 
 * @author cjt
 * @date 2023-04-07
 */
public class FilePts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件ID */
    private Long fileId;

    /** 灾害点ID */
    @Excel(name = "灾害点ID")
    private Long ptsId;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 存放位置 */
    @Excel(name = "存放位置")
    private String fileLocation;

    /** 检索名称 */
    @Excel(name = "检索名称")
    private String searchName;

    /** 状态（0正常 1关闭） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setPtsId(Long ptsId) 
    {
        this.ptsId = ptsId;
    }

    public Long getPtsId() 
    {
        return ptsId;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileLocation(String fileLocation) 
    {
        this.fileLocation = fileLocation;
    }

    public String getFileLocation() 
    {
        return fileLocation;
    }
    public void setSearchName(String searchName) 
    {
        this.searchName = searchName;
    }

    public String getSearchName() 
    {
        return searchName;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("ptsId", getPtsId())
            .append("filePath", getFilePath())
            .append("fileName", getFileName())
            .append("fileLocation", getFileLocation())
            .append("searchName", getSearchName())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
